package com.xiaoshuidi.cloud.module.finance.bwclient;

import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;

/**
 * 发送http请求工具类
 * @author renshuai
 **/
public interface RestClient {

    /**
     * http://api2.htjs.net/csxxh/skgxfw-api-master-api-saas/dkpdj/djtsV3  单据推送V3接口地址 对应文档3.1.2
     * 该接口需要网关调用，固加注解@GatewayAuth, 详见注解GatewayAutu与GatewayAuthLifeCycle
     * @param params
     * @return
     */
    @Post("http://api2.htjs.net/csxxh/skgxfw-api-master-api-saas/dkpdj/djtsV3")
    @GatewayAuth
    String djtsV3(@JSONBody String params);

    /**
     * 数电接口请求
     * @param params
     * @return
     */
    @Post("http://swgx.baiwangjs.com/api/xxgl/v3/tbkp.do")
    String qdfp(@JSONBody String params);
}
